package cn.eonshine.cuba.lsms.modular.basic.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 罐车基础信息 Transport oil vehicle basic informat
 * </p>
 *
 * @author Alan
 * @since 2018-10-22
 */
@TableName("b_vehicle")
public class BVehicle extends Model<BVehicle> {

    private static final long serialVersionUID = 1L;

    /**
     * Car or ship Basic Information primary key
                         车船主键
     */
    @TableId("ID")
    private String id;
    /**
     * carrier primary key
                         承运商主键
     */
    @TableField("CARRIER_ID")
    private String carrierId;
    /**
     * Car or ship number
                         车船号
     */
    @TableField("TANKER_NO")
    private String tankerNo;
    /**
     * car or ship load capacity
                         载重
     */
    @TableField("TANKER_LOAD_CAPACITY")
    private BigDecimal tankerLoadCapacity;
    /**
     * Type of tanker: divided by tonnage
                         油罐车类型：根据吨位划分
     */
    @TableField("TANKER_TYPE")
    private String tankerType;
    /**
     * Vehicle status：usable、not applicable
                         车辆状态：可用，不可用
     */
    @TableField("STATUS")
    private String status;
    /**
     * Vehicle operation time
                         车辆投运时间
     */
    @TableField("START_USE_DAY")
    private Date startUseDay;
    /**
     * operation number
     */
    @TableField("OPERATION_NO")
    private String operationNo;
    /**
     * compartimiento仓位数
     */
    @TableField("COMPARTIMIENTO")
    private BigDecimal compartimiento;
    /**
     * last capacity certification date
                         罐容表更新日期
     */
    @TableField("LAST_CAPACITY_CERTIFY_DATE")
    private Date lastCapacityCertifyDate;
    /**
     * creator
                         创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
                         创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
                         更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
                         更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
                         备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field
                         删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * oil type1
     */
    @TableField("OIL_TYPE1")
    private String oilType1;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getTankerNo() {
        return tankerNo;
    }

    public void setTankerNo(String tankerNo) {
        this.tankerNo = tankerNo;
    }

    public BigDecimal getTankerLoadCapacity() {
        return tankerLoadCapacity;
    }

    public void setTankerLoadCapacity(BigDecimal tankerLoadCapacity) {
        this.tankerLoadCapacity = tankerLoadCapacity;
    }

    public String getTankerType() {
        return tankerType;
    }

    public void setTankerType(String tankerType) {
        this.tankerType = tankerType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartUseDay() {
        return startUseDay;
    }

    public void setStartUseDay(Date startUseDay) {
        this.startUseDay = startUseDay;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public BigDecimal getCompartimiento() {
        return compartimiento;
    }

    public void setCompartimiento(BigDecimal compartimiento) {
        this.compartimiento = compartimiento;
    }

    public Date getLastCapacityCertifyDate() {
        return lastCapacityCertifyDate;
    }

    public void setLastCapacityCertifyDate(Date lastCapacityCertifyDate) {
        this.lastCapacityCertifyDate = lastCapacityCertifyDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getOilType1() {
        return oilType1;
    }

    public void setOilType1(String oilType1) {
        this.oilType1 = oilType1;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BVehicle{" +
        ", id=" + id +
        ", carrierId=" + carrierId +
        ", tankerNo=" + tankerNo +
        ", tankerLoadCapacity=" + tankerLoadCapacity +
        ", tankerType=" + tankerType +
        ", status=" + status +
        ", startUseDay=" + startUseDay +
        ", operationNo=" + operationNo +
        ", compartimiento=" + compartimiento +
        ", lastCapacityCertifyDate=" + lastCapacityCertifyDate +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        ", oilType1=" + oilType1 +
        "}";
    }
}
